home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / commands / pcreatetoc.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-04  |  877 b   |  31 lines

  1. /*
  2.  *--- PCreateTOC.cpp ------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PCreateTOC.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PCreateTOC.h"
  12. #include "PRequestBuf.h"
  13. #include "PCommand.h"
  14.  
  15. PCreateTOC::PCreateTOC
  16.   (    const char * sTitle,
  17.     PMBool bReplace,
  18.     PMBool bBook,
  19.     eTOC cFormat,
  20.     const char * sBetString,
  21.     PMBool bHiddenLayers )
  22. {
  23.     PRequestBuf request(strlen(sTitle) + strlen(sBetString) + 18);
  24.     
  25.     request << sTitle << bReplace << bBook << (short) cFormat << sBetString << bHiddenLayers;
  26.     
  27.     PCommand command(pm_createtoc, request);
  28. }
  29.  
  30. // end of PCreateTOC.cpp
  31.